home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Supervisor's Toolkit
/
Network Supervisor's Toolkit.iso
/
tools
/
set_envi
/
readme.doc
< prev
next >
Wrap
Text File
|
1996-07-10
|
3KB
|
97 lines
Scott Hansen
DBNet Software Solutions.
15553 207th PL SE
Renton, WA 98059
Copyright/License/Warranty
--------------------------
This document and the programs are copyrighted by the author. The
copyright owner hereby licenses you to: use the software; make as many
copies of the program and documentation as you wish; give such copies to
anyone; and redistribute the software and documentation via electronic
means. There is no charge for any of the above. By using this free
software you agree to:
1) Distribute copies of these utilities freely provided that the programs
are not altered in any way, you do not collect a fee for the programs
and the complete README file is always included.
2) The utilities are provided 'as-is' with no warranties of any kind, either
expressed or implied. The Author/Distributor is not liable for any
damages resulting from the use of these programs.
These programs have been tested and used with DOS 3.xx and Novell's
Advanced/SFT Netware 286 V2.1x. The author claims no responsibility
for the use of said utility.
Note: All three of these program manipulate Environment Variables in the
Master/Parent table only. This means if you are in a child shell
you will not see the effects, only when you return to the Parent
shell. The variables will be sourced to a new shell, if envoked
after the program has been ran.
Descriptions:
Usage: SETDRV [/Q] [/R]
This Utility sets two MASTER environment variables, which
can then be referenced in BATch files to return to the
current drive and directory.
DRV - Current Drive (ie: F:)
DIR - Current Directory (ie: USERS\FRED\DATA)
The /Q command line parameter is the Quiet switch. This will
suppress this message and actually set the variables. Without
this switch the VARIABELS WILL NOT be set.
The /R command line parameter is to Release/Remove the two
MASTER environment variables.
This will create/remove in the MASTER environment table ONLY.
Sample Batch file:
setdrv /q
h:
cd\apps\wp
wp
%drv%
cd \%dir%
setdrv /r
Usage: SETENV [Variable_Name] [Value/"String" or /R] [/Q]
This Utility allows you SET an Environment Variable in the
Master Environment table.
The /R command line parameter is to Release/Remove the specified
MASTER environment variable if it exists.
This will create/remove in the MASTER environment table ONLY.
The /Q command line parameter is the Quiet switch, this will
suppress all messages.
To assign a string to a variable it MUST be contained within
double quotes.
Usage: CLEARENV [/A] [/N]
This Utility allows you to clear all or un-needed Environment
Variables from the MASTER environment table.
The /A command line parameter clears All environment variables from
the Master table.
The /N command line parameter is the Nice switch, it clears all
variable from the Master table, but PATH, COMSPEC and PROMPT.